# -*- coding: utf-8 -*-
"""
Created on Fri Mar 22 15:01:11 2013

@author: Maxim
"""
import quantities as qu

def calc_wing_geom():
    AR = float(raw_input('Aspect ratio = '))
    S = float(raw_input('Wing area, sq.in = '))
    TR = float(raw_input('Taper ratio = '))
    
    lBr = AR*(1.+TR)/2.0
    br = (2.0*S/lBr)**0.5
    l = lBr*br

    l = l*qu.inch
    br = br*qu.inch
    l = l.rescale('m')
    br = br.rescale('m')
    
    print '\n'
    print 'span = %.4f'%l
    print 'half span = %.4f'%(l/2.)
    print 'root chord = %.4f'%br
    print 'tip chord = %.4f'%(br*TR)

if __name__=="__main__":
    calc_wing_geom()
    raw_input()